package com.vehicle.mapper;

import com.vehicle.pojo.Btype;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public interface BtypeMapper {
    List<Btype> selectBtypeByPage(Btype btype);

    Btype selectBtypeById(Integer btypeid);

    //查询类型是汽车厂商的往来单位
    public  List<Btype>  btypeBuyCar();


    //查询所有是加油站的往来单位
    List<Btype> findAllBtypeByPetrol();

    //查询所有是修理厂的往来单位
    List<Btype> findAllBtypeByRepair();

    public void insertBtype(Btype btype);

    //修改往来单位
    public  void updateBtype(Btype btype);

    //修改状态删除
    public void  updateStatus(Integer btypeid);

}